<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "insurance_benifit_group".
 *
 * @property integer $id
 * @property string $project_code
 * @property string $plan_code
 * @property string $plan_name
 * @property integer $order
 */
class InsuranceBenifitGroup extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'insurance_benifit_group';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['order'], 'integer'],
            [['project_code', 'plan_code', 'plan_name'], 'string', 'max' => 32],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'project_code' => 'Project Code',
            'plan_code' => 'Plan Code',
            'plan_name' => 'Plan Name',
            'order' => 'Order',
        ];
    }
}
